<!DOCTYPE html>

<html>
<head>
<meta charset="UTF-8">
<link href="style.css" type="text/css" rel="stylesheet">
<title>SHA1NEXTE—Calculate SHA1 State Variable E after Four Rounds </title></head>
<body>
<h1>SHA1NEXTE—Calculate SHA1 State Variable E after Four Rounds</h1>
<table>
<tr>
<th>Opcode/Instruction</th>
<th>Op/En</th>
<th>64/32 bit Mode Support</th>
<th>CPUID Feature Flag</th>
<th>Description</th></tr>
<tr>
<td>
<p>0F 38 C8 /r</p>
<p>SHA1NEXTE xmm1, xmm2/m128</p></td>
<td>RM</td>
<td>V/V</td>
<td>SHA</td>
<td>Calculates SHA1 state variable E after four rounds of operation from the current SHA1 state variable A in xmm1. The calculated value of the SHA1 state variable E is added to the scheduled dwords in xmm2/m128, and stored with some of the scheduled dwords in xmm1.</td></tr></table>
<h3>Instruction Operand Encoding</h3>
<table>
<tr>
<td>Op/En</td>
<td>Operand 1</td>
<td>Operand 2</td>
<td>Operand 3</td></tr>
<tr>
<td>RM</td>
<td>ModRM:reg (r, w)</td>
<td>ModRM:r/m (r)</td>
<td>NA</td></tr></table>
<p><strong>Description</strong></p>
<p>The SHA1NEXTE calculates the SHA1 state variable E after four rounds of operation from the current SHA1 state variable A in the destination operand. The calculated value of the SHA1 state variable E is added to the source operand, which contains the scheduled dwords.</p>
<p><strong>Operation</strong></p>
<p><strong>SHA1NEXTE</strong></p>
<p>TMP (cid:197) (SRC1[127:96] ROL 30);</p>
<p>DEST[127:96] (cid:197) SRC2[127:96] + TMP;</p>
<p>DEST[95:64] (cid:197) SRC2[95:64];</p>
<p>DEST[63:32] (cid:197) SRC2[63:32];</p>
<p>DEST[31:0] (cid:197) SRC2[31:0];</p>
<p><strong>Intel C/C++ Compiler Intrinsic Equivalent</strong></p>
<p>SHA1NEXTE: __m128i _mm_sha1nexte_epu32(__m128i, __m128i);</p>
<p><strong>Flags Affected</strong></p>
<p>None</p>
<p><strong>SIMD Floating-Point Exceptions</strong></p>
<p>None</p>
<p><strong>Other Exceptions</strong></p>
<p>See Exceptions Type 4.</p></body></html>